<template>
  <view class="gi-fixed-footer">
    <gi-gap height="56px"></gi-gap>
    <view class="gi-fixed-footer__wrap">
      <slot></slot>
    </view>
  </view>
</template>

<script lang="ts" setup></script>

<style lang="scss" scoped>
.gi-fixed-footer {
  &__wrap {
    position: fixed;
    bottom: 0;
    z-index: 9;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    height: 56px;
    padding: 0 $padding;
    background-color: #fff;
    border-top: 0.5px solid $color-border;
    :deep(.sar-button) {
      flex: 1;
      padding: 0;
      margin: 0;
    }
    :deep(.sar-button + .sar-button) {
      margin-left: 10px;
    }
  }
}
</style>
